home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 54200 / 54200.xpi / chrome / dogood.jar / content / dogood.xul < prev    next >
Extensible Markup Language  |  2010-01-05  |  4KB  |  75 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://dogood/skin/dogood-style.css" type="text/css"?>
  3.  
  4. <overlay id="dogood" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  5.     <script type="application/x-javascript" src="DoGoodReplace.js" />
  6.  
  7.     <!-- Toolbar menu -->
  8.     <toolbarpalette id="BrowserToolbarPalette">
  9.          <toolbarbutton id="dogood-toolbar-menu" type="menu" insertbefore="print-button"
  10.                                 tooltiptext="DoGooder toolbar menu" label="DoGooder" image="chrome://dogood/skin/btn_small.png">
  11.               <menupopup id="toolbarContextMenu" > 
  12.                     <menuitem label="Show Original Ads" accesskey="O" id="toolbar-dogood-showorigall" disabled="true"
  13.                               tooltiptext="See All Original Ads on this page." oncommand="DoGoodMenuAction.ShowOriginalAll(event)" />
  14.                     <menuseparator />
  15.                     <menuitem label="Suggest a Cause to Support" accesskey="C" id="toolbar-dogood-feedback" disabled="false"
  16.                               tooltiptext="I think this is a very good cause to support." oncommand="DoGoodMenuAction.Feedback()"/> 
  17.                               
  18.                     <menuitem label="Send Us Your Good Ideas" accesskey="I" id="toolbar-dogood-goodidea" disabled="false"
  19.                               tooltiptext="I have a really good idea to share with everyone." oncommand="DoGoodMenuAction.GoodIdea()"/>
  20.                     <menuseparator />                              
  21.                     <menuitem label="Allow Web Site to Ignore DoGooder" accesskey="A" id="toolbar-dogood-ignoreon" 
  22.                               tooltiptext="Allow Web Site to Ignore DoGooder." oncommand="DoGoodMenuAction.IgnoreOn()" disabled="true" />
  23.                     <menuitem label="Do Not Allow Web Site to Ignore DoGooder" accesskey="N" id="toolbar-dogood-ignoreoff"
  24.                               tooltiptext="Let me see DoGooder ideas on this site again." oncommand="DoGoodMenuAction.IgnoreOff()" disabled="true"/>
  25.             </menupopup>
  26.         </toolbarbutton>
  27.     </toolbarpalette>
  28.         
  29.     <!-- Context menu -->
  30.     <popup id="contentAreaContextMenu">
  31.     
  32.         <!--<menuseparator id="context-dogood" hidden="true"/>
  33.           <menuitem id="context-dogood-showorigone"
  34.                 label="DoGooder: Show Original Ad"
  35.                 accesskey="" hidden="true"
  36.                 oncommand="DoGoodMenuAction.ShowOriginalOne(event)"/> -->
  37.         <menuseparator />        
  38.            <menuitem id="context-dogood-showorigall"
  39.                 label="DoGooder: Show Original Ads"
  40.                 accesskey="O" hidden="true"
  41.                 oncommand="DoGoodMenuAction.ShowOriginalAll(event)"/>
  42.         <menuitem id="context-dogood-feedback"
  43.                 label="DoGooder: Suggest a Cause to Support"
  44.                 accesskey="C" hidden="false"
  45.                 oncommand="DoGoodMenuAction.Feedback()"/>
  46.         <menuitem id="context-dogood-goodidea"
  47.                 label="DoGooder: Send Us Your Good Ideas"
  48.                 accesskey="I" hidden="false"
  49.                 oncommand="DoGoodMenuAction.GoodIdea()"/>
  50.         <menuitem id="context-dogood-report"
  51.                 label="DoGooder: Is This an Ad? Help Us ImproveΓÇô Report It"
  52.                 accesskey="H" hidden="true"
  53.                 oncommand="DoGoodMenuAction.AdReport(event)"/>
  54.           <menuitem id="context-dogood-ignoreon"
  55.                 label="DoGooder: Allow Web Site to Ignore DoGooder"
  56.                 accesskey="A" hidden="true"
  57.                 oncommand="DoGoodMenuAction.IgnoreOn()"/>
  58.           <menuitem id="context-dogood-ignoreoff"
  59.                 label="DoGooder: Do Not Allow Web Site to Ignore DoGooder"
  60.                 accesskey="N" hidden="true"
  61.                 oncommand="DoGoodMenuAction.IgnoreOff()"/>
  62.         <menuseparator />                        
  63.     </popup>
  64.     
  65.     <!-- Bottom right status bar -->
  66.     <statusbar id="status-bar">
  67.         <statusbarpanel id="dogood-panel"  tooltiptext="Number of good ideas you have seen this Internet browsing session.">
  68.             <vbox>
  69.                 <description id="status-count">
  70.                 </description>
  71.             </vbox>
  72.         </statusbarpanel>
  73.     </statusbar>
  74. </overlay>
  75.